<template>
	<view class="container">
		<view class="box" @click="navTo">
			<view class="top">
				<view>
					<view class="title">这里是活动标题这里是活动这里是活动标题</view>
					<view class="subtitle">
						<text>副标题副标题副标题副标题副标题副标题副</text>
						<u-icon name="arrow-right" color="#333333" size="20"></u-icon>
					</view>
				</view>
				<image src="../../static/pension/banner.png" mode=""></image>
			</view>
			<view class="bottom">
				<view>2021.04.10 - 2021.04.20</view>
				<view>
					<text class="detail">查看详情</text>
					<u-icon name="arrow-rightward" color="#333333" size="20"></u-icon>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			navTo(){
				uni.navigateTo({
					url:"activity"
				})
			}
		}
	}
</script>

<style lang="less">
	page{
		background: #F5F5F5;
	}
	.container{
		padding: 30rpx;
	}
	.box{
		width: 690rpx;
		height: 285rpx;
		background: #FFFFFF;
		border-radius: 12rpx 12rpx 0rpx 0rpx;
		margin-bottom: 30rpx;
		
	}
	.top{
		width: 690rpx;
		height: 220rpx;
		display: flex;
		// align-items: center;
		justify-content: space-between;
		padding: 30rpx;
		image{
			width: 194rpx;
			height: 151rpx;
		}
	}
	.bottom{
		width: 690rpx;
		height: 65rpx;
		background: #DEDEDE;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 30rpx;
		font-size: 24rpx;
		color: #333333;
	}
	.title{
		width: 420rpx;
		font-size: 28rpx;
		font-weight: bold;
		color: #333333;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
	.subtitle{
		width: 420rpx;
		margin-top: 20rpx;
		font-size: 24rpx;
		font-weight: 300;
		color: #333333;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
	.detail{
		margin-right: 20rpx;
	}
</style>
